import http from '@/utils/http';

/** 举报处理 */
// 后台分页显示
export async function getReportRecordList(params) {
    return http.get('/reportRecord/list', params);
}

// 后台详情
export async function getReportRecordDetail(params) {
    return http.get('/reportRecord/detail', params);
}

// 处理举报
export async function postReportRecordProcessing(data) {
    return http.post('/reportRecord/processing', data);
}

// 咨询窗list显示
export async function getReportRecordWebList(params) {
    return http.get('/reportRecord/web/list', params);
}

// 咨询窗显示详情
export async function getReportRecordWebDetail(params) {
    return http.get('/reportRecord/web/detail', params);
}

// 举报
export async function postReportRecordWebAdd(data) {
    return http.post('/reportRecord/web/add', data);
}



/** 辟谣发布 */
// 后台辟谣list显示
export async function getDebunkingRumorRecordList(params) {
    return http.get('/debunkingRumorRecord/list', params);
}

// 辟谣显示详情
export async function getDebunkingRumorRecordDetail(params) {
    return http.get('/debunkingRumorRecord/detail', params);
}

// 修改辟谣内容/新增辟谣
export async function postDebunkingRumorRecordSave(data) {
    return http.post('/debunkingRumorRecord/save', data);
}

// 删除
export async function getDebunkingRumorRecordRemove(params) {
    return http.get('/debunkingRumorRecord/remove', params);
}

// 取消发布辟谣
export async function getDebunkingRumorRecordCancel(params) {
    return http.get('/debunkingRumorRecord/cancel', params);
}

// 咨询窗显示辟谣list
export async function getDebunkingRumorRecordWebList(params) {
    return http.get('/debunkingRumorRecord/web/list', params);
}

// 咨询窗显示辟谣详情
export async function getDebunkingRumorRecordWebDetail(params) {
    return http.get('/debunkingRumorRecord/web/detail', params);
}

